package com.kongjs.common.core.context;

public class GlobalContextHolderStrategy implements ContextHolderStrategy {
    private static Context contextHolder;

    @Override
    public void clearContext() {
        contextHolder = null;
    }

    @Override
    public Context getContext() {
        return contextHolder;
    }

    @Override
    public void setContext(Context context) {
        contextHolder = context;
    }
}
